package com.xiaoyao.login.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Classname JWTProperties
 * @Description TODO
 * @Date 2022/3/18 14:44
 * @Created by Lenovo
 */
@Data
@Component
@ConfigurationProperties(prefix = "jwt.properties")
public class JWTProperties {

    private String secret;

    private String base64Secret;

    private long tokenValidityInSeconds;

    private long tokenValidityInSecondsForRememberMe;

}
